package com.rp.article.serivce;

import com.rp.news.common.PagedResult;
import com.rp.pojo.Article;
import com.rp.vo.ArticleDetailVO;
import com.rp.vo.QueryAllListVo;

import java.util.List;

public interface ArticlePortalService {


    /**
     * 管理员查询用户的所有文章列表
     * @param vo
     * @return
     */
    PagedResult queryIndexArticleList(QueryAllListVo vo);

    List<Article> queryHotList();

    PagedResult queryArticlListOfWriter(String writerId, Integer page, Integer pageSize);

    PagedResult queryGoodArticlListOfWriter(String writerId);

    ArticleDetailVO detail(String articleId);
}
